<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lightbulb Web Server</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .container {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }
        .welcome {
            text-align: center;
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
        }
        .info {
            background: #e8f4fd;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #2196F3;
            margin: 20px 0;
        }
        .warning {
            background: #fff3cd;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            color: #999;
            font-size: 14px;
        }
        .nav-link {
            text-decoration: none;
            color: inherit;
        }

        .nav-link:visited {
            color: inherit;
        }

        .nav-link:hover {
            color: #007BFF;
        }

        .nav-link:active {
            color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🔆 Lightbulb Web Server</h1>
        <div class="welcome">
            欢迎使用小灯泡 Web 服务！
        </div>
        
        <div style="margin-top: 30px;">
            <a class="nav-link" href="/docs">📘 使用文档</a> | 
            <a class="nav-link" href="/about">ℹ️ 关于</a> | 
            <a class="nav-link" href="/welcome">🎉 欢迎文档</a> | 
            <a class="nav-link" href="/404">⚠️ 404页面</a> | 
            <a class="nav-link" href="/500">💥 500页面</a>
        </div>

        <div class="info">
            <h3>✅ 服务器运行正常</h3>
            <p>您的 Rust Rocket Web 服务器已成功启动并运行。</p>
        </div>
        
        <div class="warning">
            <h3>⚠️ 注意事项</h3>
            <p>本服务仅用于开发和测试环境，请勿在生产环境中使用！</p>
        </div>
        
        <div class="info">
            <h3>📁 文件访问</h3>
            <p>您可以通过以下方式访问静态文件：</p>
            <ul>
                <li><code>/文件名</code> - 直接访问文件</li>
                <li><code>/public/文件名</code> - 通过public路径访问</li>
            </ul>
        </div>
        
        <div class="footer">
            Powered by Rust + Rocket 🚀
        </div>
    </div>
</body>
</html>